using MediatR;
using Medical.Api.Write.Dto.BasicManagement.DeviceDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.DeviceDictionaryCommand
{
    /// <summary>
    /// 更新设备状态命令
    /// </summary>
    public class UpdateEquipmentStatusCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 更新设备状态数据
        /// </summary>
        public UpdateEquipmentStatusDto StatusData { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="statusData">状态更新数据</param>
        public UpdateEquipmentStatusCommand(UpdateEquipmentStatusDto statusData)
        {
            StatusData = statusData;
        }
    }
}